package com.guanyong.admin.controllers.page;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * Created by mxk on 2017/6/5.
 */
@Controller
public class LoginPage {

    @Value("${mortise.usercas.cookie.loginName}")
    String mortiseloginName;

    @RequestMapping("/login")
    String login(Map<String,Object> map, HttpServletRequest request){

        //test();
        map.put("pagetitle","登录");
        return "/login";
    }
}
